package com.qingcheng.pojo.order;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 数据统计表的实例化对象
 */
@Table(name = "tb_trade_statistics")
public class TradeStatistics implements Serializable {

    @Id
    private String id;          //id

    private Integer browsePeople;   //浏览人数

    private Integer ordersPeople;   //下单人数

    private Integer paymentPeople;  //付款人数

    private Integer allOrderNum;    //订单数

    private Integer allGoodsNum;    //下单件数

    private Integer orderSuccessfulNum; //退款金额

    private Integer placeMoney;     //下单金额

    private Integer refundMoney;    //退款金额

    private Integer payOrderNum;    //付款订单数

    private Integer payGoodsNum;    //付款件数

    private Integer payMoney;       //付款金额

    private Date startTime;     //统计的数据是哪一天

    private Date createTime;    //记录生成时间


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getBrowsePeople() {
        return browsePeople;
    }

    public void setBrowsePeople(int browsePeople) {
        this.browsePeople = browsePeople;
    }

    public Integer getOrdersPeople() {
        return ordersPeople;
    }

    public void setOrdersPeople(int ordersPeople) {
        this.ordersPeople = ordersPeople;
    }

    public Integer getPaymentPeople() {
        return paymentPeople;
    }

    public void setPaymentPeople(int paymentPeople) {
        this.paymentPeople = paymentPeople;
    }

    public Integer getAllOrderNum() {
        return allOrderNum;
    }

    public void setAllOrderNum(int allOrderNum) {
        this.allOrderNum = allOrderNum;
    }

    public Integer getAllGoodsNum() {
        return allGoodsNum;
    }

    public void setAllGoodsNum(int allGoodsNum) {
        this.allGoodsNum = allGoodsNum;
    }

    public Integer getOrderSuccessfulNum() {
        return orderSuccessfulNum;
    }

    public void setOrderSuccessfulNum(int orderSuccessfulNum) {
        this.orderSuccessfulNum = orderSuccessfulNum;
    }

    public Integer getPlaceMoney() {
        return placeMoney;
    }

    public void setPlaceMoney(int placeMoney) {
        this.placeMoney = placeMoney;
    }

    public Integer getRefundMoney() {
        return refundMoney;
    }

    public void setRefundMoney(int refundMoney) {
        this.refundMoney = refundMoney;
    }

    public Integer getPayOrderNum() {
        return payOrderNum;
    }

    public void setPayOrderNum(int payOrderNum) {
        this.payOrderNum = payOrderNum;
    }

    public Integer getPayGoodsNum() {
        return payGoodsNum;
    }

    public void setPayGoodsNum(int payGoodsNum) {
        this.payGoodsNum = payGoodsNum;
    }

    public Integer getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(int payMoney) {
        this.payMoney = payMoney;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TradeStatistics{" +
                "id='" + id + '\'' +
                ", browsePeople=" + browsePeople +
                ", ordersPeople=" + ordersPeople +
                ", paymentPeople=" + paymentPeople +
                ", allOrderNum=" + allOrderNum +
                ", allGoodsNum=" + allGoodsNum +
                ", orderSuccessfulNum=" + orderSuccessfulNum +
                ", placeMoney=" + placeMoney +
                ", refundMoney=" + refundMoney +
                ", payOrderNum=" + payOrderNum +
                ", payGoodsNum=" + payGoodsNum +
                ", payMoney=" + payMoney +
                ", startTime=" + startTime +
                ", createTime=" + createTime +
                '}';
    }
}
